<template>
	<view style="padding-bottom: 200rpx;">
		<view style="text-align: center;font-weight: bold;font-size: 32rpx;margin: 49rpx 0;">电子养车礼包说明手册及用户协议</view>
	<rich-text :nodes="info"></rich-text>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				isShow: 1,
				title:'',
				info:''
			}
		},
		onUnload() {
		  uni.$off('agreements')
		},
		onLoad(op){
			uni.$on('agreements',data=>{
				this.info = data
				console.log(data)
			})
			console.log(op)
			this.title = op.title
			this.isShow = Number(op.id)
		},
		methods:{
			
		}
	}
</script>

<style lang="scss">
	.text {
		margin: 0 40rpx;
		color: #333333;
		font-size: 26rpx;
		line-height: 40rpx;

		text {
			font-weight: bold;
		}
	}
</style>
